﻿
using Bankeren.Engine.Cards;
using Caliburn.Micro;
namespace BankerenClient
{
    public class CardViewModel : PropertyChangedBase
    {
        #region Fields

        private Card card;

        #endregion

        #region Properties

        public Card Card
        {
            get { return this.card; }
            set
            {
                this.card = value;
                NotifyOfPropertyChange(() => Card);
            }
        }

        #endregion

        #region Ctor

        public CardViewModel()
        {
            this.card = new Card(Suit.Spades, Rank.Ace);
        }

        #endregion
    }
}
